
namespace PolicyAlgebra.Type
{
	///<summary>
	///    This class defines a certain permission that is given.
	///    It has two subclasses that specify whether it denies or
	///    allows an action.
	///</summary>
	public class Permission : Commentable
	{ 
		///<summary>
		/// Constructor.
		///</summary>
		///<param name="action">The name of the action</param>
		public Permission(string action) : base(action) {}


		///<summary>
		/// Constructor.
		///</summary>
		///<param name="action">The name of the action</param>
		///<param name="comment">A comment that should be associated with this permission</param>
		public Permission(string action, string comment) : base(action, comment) {}
	}
}
